import { get, stream } from '@/utils/request'

export const sendChatMessage = (message: string) => {
  return get('/ai/chat', { message })
}

export const streamChat = (message: string) => {
  return stream('/ai/stream/chat', { message })
}